package cn.eng.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.eng.basic.domain.BaseDomain;
import cn.eng.org.domain.Shop;
import cn.eng.pet.domain.Pet;
import cn.eng.user.domain.User;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class OrderAdopt extends BaseDomain{

    /**
     * 摘要
     */
    private String digest;
    /**
     * 待支付 待确认 完成 取消
     */
    private Integer state;
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    private Date lastPayTime;
    private Date lastConfirmTime;
    private Long petId;
    private Long userId;
    private Long shopId;
    private Integer serviceMethod;

    private Pet pet;
    private User user;
    private Shop shop;

    private OrderAddress address;

}
